Video processing apparatus for processing pixel for generating high-picture-quality image, method thereof, and video printer to which they are applied

ABSTRACT

A video processing apparatus according to the present invention includes edge detecting means for detecting an edge direction of an image, coefficient selecting means for selecting a coefficient based on the edge direction detected by the edge detecting means, and filter means for filtering a frequency band by using a frequency characteristic corresponding to the coefficient selected by the coefficient selecting means, wherein the number of pixels of the image is enlarged twice.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a video processing apparatus and a video processing method which are suitable for application to a pixel processing in a video printer, and a video printer.

[0003] 2. Description of the Related Art

[0004] Recently, a sublimation type color printer has achieved higher definition. A main picture input to such color printer has a resolution which is as high as that of a video signal, and a picture having high resolution is not frequently employed as such input picture. Specifically, although the color printer can carry out a printing operation with high resolution, the resolution of the input image data is lower. Therefore, when the color printer carries out the printing operation with high resolution, the color printer must subjects the image data to a predetermined interpolation processing to convert it into an image which can be regarded as a high-resolution image data. However, since a picture quality of an output image after the printing operation considerably depends upon a method of interpolating an image data, an interpolating method which can provide a higher picture quality has been demanded.

[0005] Since the sublimation color printer can control resolution by changing gradation in a movement direction of a thermal head, i.e., a sub-scanning direction in an analog fashion, it is necessary to interpolate an image in a direction in which heating elements of the thermal head are arranged so that the printing operation of one line amount should be carried out, i.e., in a main scanning direction. Specifically, a processing for interpolating the image so that the number of the pixels in the main scanning direction should be doubled has been demanded. Such image interpolation method includes a simple enlargement method in which a pair of the same pixels are arranged to simply double the number of the pixels, a mean value interpolation method of employing a mean value of the pixels in the vertical direction as an interpolation pixel. Though the simple enlargement method, the mean value interpolation method and so on have mainly been employed as such image interpolation method, such image interpolation method also includes a pattern recognition mean-value interpolation method which is a high-level interpolation processing employing an information about neighbor pixels and which employs a mean value of pixels in an oblique direction as an interpolation pixel depending upon a pattern of a relationship in size among neighbor pixels.

[0006] A processing changing resolution of an image by changing the number of pixels in the main scanning direction at a desired scale factor has been demanded. Such image-resolution converting method includes an interpolatory calculation of a nearest neighbor method in which an input pixel closest to an output pixel position is employed as an output pixel, an internally-dividing-point interpolatory calculation method (by-linear method) of employing a weighted mean value of four input pixels at positions close to an output pixel position as an output pixel, and so on. Such image-resolution converting method also includes a three-dimensional convolution interpolatory calculation method (by-cubic method) of employing as an output pixel a value obtained by subjecting to a convolution sixteen input pixels close to an output pixel and a sinc function (sin x/x≈x3+x2+ . . . ).

[0007] The above image interpolation methods are involved in the following problems. Specifically, when the image interpolation method employs the simple enlargement method, since pixels at edges of an image are kept, the image is prevented from being blur but has a jaggy edge in the diagonal direction, which leads to a deteriorated picture quality of the image. When the mean value interpolation method is employed, since the mean value is employed as the interpolation pixel, the image is blurred and has a slight jaggy edge in the diagonal direction. When the pattern recognition mean value interpolation method is employed, the jaggy edge is corrected by interpolation so as to become smooth, but the mean value is employed as an interpolation pixel, the image is blurred. Further, when an artificial image such as a character or the like is printed, a line, of a character, curved at a corner at right angle is converted by interpolation into a diagonal ling and hence the character having such corner is deformed.

[0008] When the interpolatory calculation method employing the nearest neighbor method is employed, since the pixels at the edge of the image is kept, the image is prevented from being blurred, but the edge in the diagonal direction becomes jaggy, which leads to a deteriorated quality of an image. When the internally-dividing-point interpolatory calculation method is employed, since the mean value is employed as an interpolation pixel, the image is blurred and the edge thereof in the diagonal direction becomes slightly jaggy. When the three-dimensional convolution interpolatory calculation method is employed, it is possible to obtain an image having a high picture quality, but, if the method is realized in the form of a hardware, then a large number of multipliers are required, which leads to increase of the manufacturing costs of such hardware. Therefore, the interpolatory calculation method of the nearest neighbor method and the internally-dividing-point interpolatory calculation method have a problem of a picture quality, and the three-dimensional convolution interpolatory calculation method has a problem of its manufacturing cost.

[0009] Moreover, in order to process an image having high picture quality, the printer has carried out a sharpness processing for enhancing an image. If the hard sharpness processing is carried out, then a boundary of a color forming an image is made sharp to thereby enhance the whole image. Contrary, if the soft sharpness processing is carried out, then the whole image becomes soft in sharpness.

[0010] Such sharpness processing includes a processing employing a quadratic differential method. The quadratic differential method is a method which, when an image data is passed through an enhancement filter, employs a value obtained by subjecting an image data to a quadratic differential as an enhancement component. For example, coefficients of the enhancement filter are set to −0.25, 0.5 and −0.25 and then respectively allocated to sampling points of Z−1, 0, Z+1, and respective pixels of the image data are subjected to calculation by using these coefficients.

[0011] However, since, when a picture frequency ω=π is established, the enhancement filter employed in the above image enhancement method mainly enhances a frequency band of π/2 or higher, if the enhancement filter filters an image having a low frequency band, an image which has already been interpolated, and so on, only an aliasing component (aliasing signal) is enhanced and hence a high frequency band component inherent in the image is not enhanced much.

SUMMARY OF THE INVENTION

[0012] In view of such aspect, an image interpolating apparatus, it is a first object of the present invention is to provide an image interpolating method and a video printer which can prevent an image from being blurred and which can prevent a character and so on to be printed from being deformed.

[0013] It is a second object of the present invention is to provide an image resolution converting apparatus, an image resolution converting method and a video printer which can prevent an image from being blurred and which can convert a resolution of the image at a desired scale factor with a simple arrangement.

[0014] It is a third aspect of the present invention to provide a picture enhancement apparatus, a picture enhancement method and a video printer which can effectively enhance an image having a low frequency band.

[0015] According to a first aspect of the present invention, a video processing apparatus includes edge detecting means for detecting an edge direction of an image, coefficient selecting means for selecting a coefficient based on the edge direction detected by the edge detecting means, and filter means for filtering a frequency band by using a frequency characteristic corresponding to the coefficient selected by the coefficient selecting means, wherein the number of pixels of the image is enlarged twice.

[0016] According to a second aspect of the present invention, a video processing apparatus includes enlarging means for up-sampling video data to enlarge the number of data at a predetermined scale factor, decimating means for decimating the pixels by outputting the pixels of the enlarged video data at a desired ratio with employing an input the video data enlarged by the enlarging means. Resolution of the video data is converted at a desired scale factor.

[0017] According to a third aspect of the present invention, a picture enhancement apparatus includes first enhancement means for enhancing a first band which is a higher frequency band in a frequency band of an input video data, second enhancement means for enhancing a second band which is a lower frequency band in a frequency band thereof. A predetermined frequency band of the video data is enhanced by using the first enhancement means and the second enhancement means.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018]FIG. 1 is a block diagram showing an arrangement of a video printer to which the present invention is applied;

[0019]FIG. 2 is a block diagram of a video processing unit of the video printer shown in FIG. 1;

[0020]FIG. 3 is a block diagram showing an arrangement of a field/frame interpolation block according to a first embodiment of the present invention;

[0021]FIG. 4 is a diagram showing a function block of an edge detecting unit according to the first embodiment;

[0022]FIG. 5 is a diagram showing a function block of a two-dimensional adaptive filter according to the first embodiment;

[0023]FIG. 6 is a diagram showing an inclination vector of an image according to the first embodiment;

[0024]FIG. 7 is a diagram showing an inclination vector of an interpolated image according to the first embodiment;

[0025]FIG. 8 is a diagram showing areas of an edge direction of the image according to the first embodiment;

[0026]FIG. 9 is a diagram showing a right-angle corner pattern according to the first embodiment;

[0027]FIG. 10 is a diagram showing coefficients of the two-dimensional adaptive filter according to the first embodiment;

[0028]FIG. 11 is a diagram showing coefficients of the two-dimensional adaptive filter according to the first embodiment;

[0029]FIG. 12 is a graph showing a frequency characteristic of a coefficient H₅(Zi, Zj)) according to the present invention;

[0030]FIG. 13 is a graph showing a frequency characteristic of a coefficient H₆(Zi, Zj)) according to the present invention

[0031]FIG. 14 is a graph showing a frequency characteristic of a coefficient H₇(Zi, Zj)) according to the present invention;

[0032]FIG. 15 is a graph showing a frequency characteristic of a coefficient H₄(Zi, Zj)) according to the present invention;

[0033]FIG. 16 is a graph showing a frequency characteristic of a coefficient HB(Zi, Zj)) according to the present invention;

[0034]FIG. 17 is a block diagram showing an arrangement of a re-sizing block as an image resolution converting apparatus according to a second embodiment of the present invention;

[0035]FIGS. 18A to 18D are diagrams used to explain an operation of the re-sizing block according to the second embodiment, wherein FIG. 18A shows an input video data, FIG. 18B shows an output signal of a double up-sampling circuit, FIG. 18C shows an output signal from an interpolation filter, and FIG. 18D shows an output signal from a multi-stage interpolator and an output video data;

[0036]FIG. 19 is a diagram showing an example of coefficients of an interpolation filter H(Z) according to the second embodiment;

[0037]FIG. 20 is a graph showing a frequency characteristic of the interpolation filter H(Z) according to the second embodiment;

[0038]FIG. 21 is a diagram showing another example of coefficients of the interpolation filter H(Z) according to the second embodiment;

[0039]FIG. 22 is a block diagram showing an arrangement of a band dividing filter of a sharpness block as a picture enhancement apparatus according to a third embodiment of the present invention;

[0040]FIG. 23 is a diagram used to explain a band dividing operation of the band dividing filter according to the third embodiment;

[0041]FIG. 24 is a graph showing a frequency characteristic of a low-pass filter Fh(Z) (band 3 Fh(Z)) of the band dividing filter according to the third embodiment;

[0042]FIG. 25 is a graph showing a frequency characteristic of a low-pass filter Fl(Z) of the band dividing filter according to the third embodiment;

[0043]FIG. 26 is a graph showing a frequency characteristic of a high-pass filter Fh(Z²) of the band dividing filter according to the third embodiment;

[0044]FIG. 27 is a graph showing a frequency characteristic of a low-pass filter Fl(Z²) of the band dividing filter according to the third embodiment;

[0045]FIG. 28 is a graph showing a frequency characteristic of a filter Fh(Z²)Fl(Z) for passing data of a band 2 divided by the band dividing filter according to the third embodiment;

[0046]FIG. 29 is a graph showing a frequency characteristic of a filter Fl(Z²)Fl(Z) for passing data of a band 1 divided by the band dividing filter according to the third embodiment;

[0047]FIG. 30 is a block diagram showing an arrangement of a picture enhancement apparatus for two bands of the sharpness block as the picture enhancement apparatus according to the third embodiment; and

[0048]FIG. 31 is a graph showing a frequency characteristic of a filter Fh(Z)=Fm(Z) for passing data of a band 3 according to the picture enhancement apparatus for two bands according to the third embodiment.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0049] An image interpolating apparatus according to a first embodiment of the present invention will be described with reference to FIGS. 1 to 16. The image interpolating apparatus according to the embodiment simply doubles an area of a digital image and then detects local edge directions. The digital image is interpolated by a two-dimensional adaptive digital filter having such a directivity that a frequency component corresponding to a jaggy in the edge direction is cut, and the diagonal-direction edge is smoothly interpolated. Thus, a blur of the image is reduced, and it is possible to obtain an interpolated image having less deformation of a character or the like and higher picture quality.

[0050] A color video printer to which the image interpolating apparatus according to the embodiment is applied will be described with reference to FIG. 1. This color video printer has a video input unit 1 to which a video signal is input, an A/D converter 2 for quantizing an analog video signal input from the video input unit 1 to convert it into a digital signal, a video memory 4 serving as a frame memory for storing and keeping a data of a digital video signal of one frame amount, a memory controller unit 3 for controlling operations of writing and reading the digital video signal in and from the video memory 4, a switch unit 5 used for carrying out various setting operations, a system controller unit 6 for controlling an operation of a memory controller unit 3 based on the setting operations carried out by using switch unit 5, a mechanism control unit 7 for controlling an operation of a mechanical mechanism 8 under the control of the system controller unit 6, a mechanical mechanism 8 having a printing-paper feed motor or the like operated by the mechanism control unit 7, a video processing unit 9 for receiving the data of the digital video signal from the video memory 4 one line by one line in synchronization with a printing-paper feeding operation of the printing paper feed motor of the mechanical mechanism 8 and a thermal head 11 for printing the data of the digital video signal subjected to the image processing on the printing paper.

[0051] In particular, in the first embodiment, the video processing unit 9 has a non-linear interpolation block (not shown) for, after simply doubling an area of a digital image and then detects local edge directions, interpolating the digital image by using a two-dimensional adaptive digital filter having such a directivity that a frequency component corresponding to a jaggy in the edge direction is cut, to smoothly interpolate the diagonal-direction edge.

[0052] The color video printer having such arrangement is operated as follows. The video input unit 1 supplies an analog video signal to the A/D converter 2. The A/D converter 2 quantizes the analog video signal supplied from the video input unit 1, converts it into a digital signal, and supplies the digital signal to the memory controller unit 3. The memory controller unit 3 writes the data of the supplied digital video signal in the video memory 4 so that the data of the digital signal of one frame amount should be stored in the video memory 4.

[0053] Based on the various setting operation carried out by operating the switch unit 5, the system controller unit 6 controls the data writing and reading operations of the memory controller unit 3. when the system controller unit 6 issues a command to operate the mechanical mechanism 8 to the mechanism control unit 7, the mechanism control unit 7 controls the mechanical mechanism 8 formed of the printing-paper feed motor and the like. Then, the system controller unit 6 supplies a command to read out the data from the video memory 4 to the memory controller unit 3. In synchronization with the printing-paper feeding operation of the mechanical mechanism 8, the data of the digital video signal is read out from the video memory 4 one line by one line and supplied to the video processing unit 9. The video processing unit 9 subjects the supplied data of the digital video signal of one line amount to various video processings, and subjects the data to the thermal head 11. The thermal head 11 prints the data of the digital video signal on the printing paper with a generated heat corresponding to a gradation of the image data.

[0054] In particular, in the first embodiment, the non-linear interpolation block of the video processing unit 9 simply doubles an area of the digital image and then detects local edge direction. The non-linear interpolation block interpolates the digital image by using the two-dimensional adaptive digital filter having such a directivity that a frequency component corresponding to a jaggy in the edge direction is cut, and thereby smoothly interpolates the diagonal-direction edge.

[0055] A video processing unit will be described with reference to FIG. 2. The video processing unit shown in FIG. 2 corresponds to the video processing unit 9 shown in FIG. 9. The video processing unit has a register 12 for storing a control data Dc from the system controller unit 6 shown in FIG. 1, a main-scanning direction controller 13 for controlling a main scanning direction operation of the video processing unit based on the control data Dc and a data from the register 12, and a sub-scanning direction controller 14 for controlling a sub scanning direction operation of the video processing unit based on the control data Dc and the data from the register 12.

[0056] The video processing unit has line buffers 15 a, 15 b, 15 c for successively and temporarily storing the input video data Di of one line amount supplied from the video memory 4 through the memory controller unit 3 shown in FIG. 1 one line by one line, a sub-scanning direction interpolation block 16 for interpolating the input video data Di of one line amount temporarily stored in the line buffers 15 a, 15 b, 15 c in the sub-scanning direction, an d a linear interpolation block 17 for interpolating a field data. Particularly, in the first embodiment, the video processing unit shown in FIG. 2 has a field/frame interpolation block 10 (corresponding to the above-mentioned non-linear interpolation block) simply doubles the area of the image, detects the local edge direction, and then interpolates the image by using the two-dimensional adaptive digital filter having such directivity that a frequency component corresponding to a jaggy in the direction should be cut, thereby smoothly interpolating the image.

[0057] This video processing unit has a re-sizing block 18 for converting the number of scanning lines according to a pAL system into the number of scanning lines according to NTSC system, a line buffer 19 for temporarily storing the video data of one line amount having the scanning lines the converted number, an edition function block 20 for subjecting the video data to various edition functions, a line buffer 21 for temporarily holding the video data of one line amount used for sharpness correction, a sharpness block 22 for carrying out an enhancement processing, an accumulated-heat correction block 25 for correcting heat accumulated at the thermal head, an accumulated heat correction memory 23 for storing an accumulated-heat correction data o fa response system having a short time constant, an accumulated heat correction memory 24 for storing an accumulated-heat correction data of a response system having a long time constant, and a dither block 26 for adding to an original signal a noise (dither) corresponding to shading which is a difference relative to a constant threshold value used when the input signal is converted into a binary signal.

[0058] The video processing unit having the above arrangement is operated as follows. The control data Dc from the system controller unit 6 shown in FIG. 1 is supplied to the register 12, the main scanning direction controller 13 and the sub scanning direction controller 14. The control data Dc supplied to and stored in the register 12 is supplied to the main scanning direction controller 13 and the sub scanning direction controller 14. The main scanning direction controller 13 controls a main scanning direction operation of the video processing unit based on the control data Dc and the data from the register 12, and the sub scanning direction controller 14 controls a sub scanning direction operation of the video processing unit based on the control data Dc and the data from the register 12. Specifically, each of the main scanning direction controller 13 and the sub scanning direction controller 14 supplies a control signal to each of the line buffers 15 a, 15 b and 15 c for the image interpolation processing, the line buffer 19 used for the re-sizing operation and the edition function, the line buffer 21 used for the enhancement processing, and the accumulated heat correction memories 23, 24 used for correcting the accumulated heat.

[0059] The input video data Di of one line amount is successively supplied from the video memory 4 through the memory controller unit 3 shown in FIG. 3 to the line buffers 15 a, 15 b, 15 c. Specifically, the line buffer 15 a temporarily holds a video data Di+l of the line immediately succeeding the present line. The line buffer 15 b temporarily holds a video data Di of the present line. The line buffer 15 c temporarily holds a video data Di−1 of the line immediately preceding the present line. The input video data Di+1, Di, Di−1 respectively temporarily held by the line buffers 15 a, 15 b, 15 c are supplied to the sub scanning direction interpolation block 16. The sub scanning direction interpolation block 16 interpolates the input video data Di+1, Di, Di−1 in the sub scanning direction. For example, the sub scanning direction interpolation block 16 interpolates a field data and rotates the image data at an angle of 90° so that two image data can be printed in the sub scanning direction, then interpolating the data in the sub scanning direction. The image data interpolated in the sub scanning direction or the image data which has not been interpolated in the sub scanning direction is supplied to the filed/frame interpolation block 10. When the video data is interpolated in the sub scanning direction, the filed/frame interpolation block 10 at the succeeding stage does not carry out the field/frame interpolation. However, only when the image data is not interpolated in the sub scanning direction and is supplied to the field/frame interpolation block 10 as it is, the field/frame interpolation block 10 carries out the field/frame interpolation. Thus, the processing in the field/frame interpolation block 10 is different depending upon whether or not the image data is interpolated in the sub scanning direction.

[0060] Particularly, in the first embodiment, the field/frame interpolation block 10 simply doubles areas of the images of a field data and a frame data of the video data which has not been interpolated in the sub scanning direction and detects the local edge direction. The field/frame interpolation block 10 interpolates the image by using the two-dimensional adaptive digital filter having such directivity that a frequency component corresponding to a jaggy in the direction, thereby interpolating the image so that the diagonal direction edge should be smooth. Specifically, the field/frame interpolation block 10 interpolates the field data or the frame data so that it should be doubled. The reason why the field/frame interpolation block 10 is referred to as a non-linear interpolation block is that the adaptive filter described later on is generally a non-linear filter. The image data having the field data and the frame data respectively doubled by interpolation is supplied to the linear interpolation block 17. The linear interpolation block 17 doubles, interpolation, not the frame data but only the field data. Specifically, the frame data is doubled by the non-linear interpolation but is not interpolated by the linear interpolation, consequently being doubled by interpolation. The field data is doubled by the non-linear interpolation and further doubled by the linear interpolation, consequently being increased four times. The reason whey the interpolation block 17 is referred to as the linear interpolation block is that the filter employed in the interpolation block 17 is a linear filter.

[0061] The video data thus interpolated is supplied to the re-sizing block 18. The re-sizing block 18 converts the number of scanning lines according to the PAL system into the number of scanning lines according to the NTSC system, for example, and then supplies the image data having the converted number of scanning lines to the line buffer 19. A processing time for writing and reading the image data of one line amount is required until the line buffer 19 is supplied with the image data of the present line after the input image data Di is input thereto. Specifically, the processings for writing the image data in the line buffer 15, the sub scanning direction interpolation block 16, the field/frame interpolation block 10, the linear interpolation block 17, the re-sizing block 18 and the line buffer 19 are carried out in synchronization with one another.

[0062] The video data of one line amount having the converted number of scanning lines by the re-sizing block 18 is read out from the line buffer 19 and then supplied therefrom to the edition function block 20. The edition function block 20 subjects the supplied data to various edition functions, and then supplies the video data subjected to various edition functions to the sharpness block 22. The sharpness block 22 carries out the enhancement processing. At this time, the line buffer 21 temporarily holds the video data of one line amount for sharpness correction. The video data corrected in sharpness is supplied from the sharpness block 22 to the accumulated heat correction block 25.

[0063] The accumulated heat correction block 25 corrects heat accumulated at the thermal head. At this time, an accumulated-heat correction data of a response system having a short time constant is supplied from the accumulated-heat correction memory 23 to the accumulation heat correction block 25, and an accumulated-heat correction data of a response system having a long time constant is supplied from the accumulated-heat correction memory 24 to the accumulation heat correction block 25. The two response systems are corrected by different processings.

[0064] The video data corrected in the accumulated heat is supplied to the dither block 26. The dither block 26 adds to an original signal a noise (dither) corresponding to shading which is a difference relative to a constant threshold value used when the input signal is converted into a binary signal. Thus, the dither block 26 outputs an output video data Do.

[0065] A processing time for writing and reading the image data of one line amount is required until the dither block 26 outputs the output video data Do after the video data is read out from the line buffer 19. Specifically, the processing for reading data from the line buffer 19 and the processings of the edition function block 20, the sharpness block 22, the accumulated heat correction block 25 and the dither block 26 are carried out in synchronization with one another.

[0066] Specific arrangement and operation of the image interpolating apparatus according to the first embodiment will be described. FIG. 3 is a diagram showing an arrangement of the field/frame interpolation block 10. As shown in FIG. 3, the field/frame interpolation block 10 has a simple enlarging unit 30 for simply enlarging an image twice, an edge detecting unit for detecting a local edge direction of the image, and a two-dimensional (2-D) adaptive digital filter 34 having such directivity that a frequency component corresponding to a jaggy in the edge detection direction is cut,. In FIG. 3, Gi,j and G′i,j represent digital video data, and i and j respectively represent the sub scanning direction (line increment) and the main scanning direction (line direction) The simple enlarging unit 30 has a double up-sampling circuit 31 and a 0th-order holding circuit 32. The double up-sampling circuit 31 has a double up-sampling circuit 31 a for subjecting a digital video data G_(i−1,j) to double up-sampling processing, a double up-sampling circuit 31 b for subjecting a digital video data G_(i,j) to double up-sampling processing, and a double up-sampling circuit 31 c for subjecting a digital video data G_(i+1,j) to double up-sampling processing. The 0th holding circuit 32 has a 0th holding circuit 32 a for adding the digital video data G_(i−1,j) subjected to double up-sampling processing with a data at one previous sampling point, a 0th holding circuit 32 b for adding the digital video data G_(i,j) subjected to a double up-sampling processing with a data at one previous sampling point, and a 0th holding circuit 32 a for adding the digital video data G_(i+1,j) subjected to double up-sampling processing with a data at one previous sampling point.

[0067]FIG. 4 is a diagram showing a function block of a edge detecting unit 33. The function block shown in FIG. 4 corresponds to the edge detection unit 33 shown in FIG. 3. THe edge detection unit 33 has a maximum inclination detecting means 40 for a local maximum inclination of the image, a vertical direction detecting means 41 for detecting a vertical direction relative to the direction of the maximum inclination as the edge direction, an edge direction area designating means 42 for dividing the detected edge direction at least into predetermined horizontal-direction, vertical-direction and diagonal-direction areas 43, 44, 45 in the to designate an edge direction area, and a right-angle corner pattern detecting means 46 for detecting a right-angle corner pattern of a character and the like.

[0068]FIG. 5 is a diagram showing a function block of a two-dimensional adaptive digital filter. The function block shown in FIG. 5 corresponds to the two-dimensional adaptive digital filter 34 shown in FIG. 3. The two-dimensional adaptive filter has an edge-direction-corresponding-coefficient selecting means 50 and coefficients 51 (H₁ to H₈) having frequency characteristics having directivity.

[0069] The operation of the filed/frame interpolation block 10 having the above arrangement will hereinafter be described.

[0070] An operation of the simple enlarging unit 30 will be described. The double up-sampling circuit 31 a subjects the digital video data G_(i−1,j) to the double up-sampling processing. The double up-sampling circuit 31 b subjects the digital video data G_(i,j) to the double up-sampling processing. the double up-sampling circuit 31 c subjects the digital video data G_(i+1,j) to the double up-sampling processing. Then, each of the double up-sampling circuits 31 a, 31 b, 31 c output a value at an original sampling point and a value of 0 at a point of the double up-sampling processing.

[0071] The values at the original sampling points and the values of 0 at the point of the double up-sampling processings which are supplied from the double up-sampling circuits 31 a, 31 b, 31 c are supplied to the 0th holding circuits 32 a, 32 b, 32 c, respectively. Each of the 0th holding circuits 32 a, 32 b, 32 c adds the supplied value at the original sampling point and the supplied value at the one previous sampling point upon the double up-sampling processing. Thus, the video data enlarged twice in the main scanning direction can be obtained from the simple enlarging unit 30.

[0072] An operation of the edge detecting unit will be described. The maximum inclination direction detecting means 40 detects the local maximum direction of the image. The vertical-direction detecting means 41 detects the vertical direction perpendicular to the maximum inclination direction as the edge direction. A method of detecting an edge based on the local inclination information will hereinafter be described. In general, assuming that a smooth analog image is represented by a function f(x,y), then calculation using spatial linear differential permits a local maximum inclination direction thereof to be expressed by vector of equation (1).

grad f(x,y)=(∂f(x,y)/∂x,∂y(x,y)/∂y)  (1)

[0073] A direction perpendicular to the vector expressed in the equation (1) corresponds to the edge direction. Similarly, assuming that the digital data is G_(i,j), a local maximum inclination direction thereof can generally be expressed by vector (pi,j, qi,j) of equation (2).

(pi,j, qi,j)=(G _(i+1,j) −G _(i,j) , G _(i,j+1) −G _(i,j))  (2)

[0074] If a local maximum direction of a larger area is calculated in order to match phases, then the local maximum direction can be expressed by vector of equation (3)

(pi,j, qi,j)=((G _(i+1,j−1) ,+G _(i+1,j) +G _(i+1,j+1))−(G _(i−1,j−1) +G _(i−1,j) +G _(i−1,j+1))), ((G _(i+1,j−1) +G _(i+1,j) +G _(i+1,j+1))−(G _(i,j−1) +G _(i,j) +G _(i,j+1))  (3)

[0075] The vector perpendicular to the vector (pi,j, qi,j) is calculated as shown in FIG. 6. Specifically, in an image block formed of 3 pixels×3 pixels surrounding a pixel to be interpolated, a value of an image data of each of pixels shown by dense hatchings is zero, a value of an image data of pixels shown by thin hatchings is a middle value, and a value of an image data of each of pixels shown by blank is a maximum value. at this time, the vector (pi,j, qi,j) represents a direction from a pixel having an image data value of zero or a middle value of an image data to a pixel having a maximum value. In this case, as shown in FIG. 6, three pixels around a lower left corner of the image block have a value of zero, three pixels on a line from an upper left corner to a lower right corner including the pixel to be interpolated have a value of a middle value, and three pixels around an upper right corner thereof have a maximum value. Therefore, the vector of the pixel to be interpolated is in the diagonal and upward direction inclined toward the right. The vector perpendicular to the vector is a vector (−qi,j,pi,j) or a vector (qi,j, −pi,j) in the direction of the three pixels on a line from an upper left corner to a lower right corner including the pixel to be interpolated. The vector (−qi,j,pi,j) or the vector (qi,j, −pi,j) corresponds to the edge direction.

[0076] If the simple enlarging unit 30 enlarges the image twice in the main scanning direction j (line direction), then the vector (pi,j, qi,j) becomes a vector (2pi,j, qi,j) and a vector perpendicular to the vector (2pi,j,qi,j) can be calculated as shown in FIG. 7. Specifically, in an image block of 3 pixels×6 pixels which is enlarged twice in the main scanning direction j and which includes the pixel to be interpolated, pixels shown by dense hatchings has an image data value of zero, pixels shown by thin hatchings has a mean image data value, and pixels shown by blank has a maximum image data value. At this time, the respective pixels shown in FIG. 6 are enlarged twice in the main scanning direction j. The vector (2pi,j, qi,j) represents a direction from a pixel having an image data value of zero or the middle value to the pixel having the maximum value. In this case, as shown in FIG. 7, six pixels around a lower left corner of the image block have a value of zero, six pixels on a line from an upper left corner to a lower right corner including the pixel to be interpolated, which has been enlarged twice, have a value of a middle value, and six pixels around an upper right corner thereof have a maximum value. Therefore, the vector of the pixel to be interpolated is in the diagonal and upward direction inclined toward the right. The vector perpendicular to the vector is a vector (−qi,j,2pi,j) or a vector (qi,j, −2pi,j) in the direction of the three pixels on a line from an upper left corner to a lower right corner including the pixel which has been enlarged twice and is to be interpolated. The vector (−qi,j,2pi,j) or the vector (qi,j, −2pi,j) corresponds to the edge direction. If this vector is expressed by using an inclination ai, j of a straight line in this direction, it can be expressed by equation (4).

ai,j=tan θi,j=−2pi,j/qi,j  (4)

[0077] The local edge direction of the image can be expressed with the value of ai,j.

[0078] An operation of detecting such edge direction will be described in detail. Assuming that an image data obtained by enlarging the image data Gi, j twice in the main scanning direction j is gi,k, then the image data gi,k can be expressed by the following equation (5).

g _(i,k) =G _(i,k/2) (if k is an even number)

=G _(i,(k−1)/2) (if k is an odd number)  (5)

[0079] An amount corresponding to the spatial linear differential (pi,j, qi,j) described above can be obtained by the following equation (6) with using the video data gi,k which has been enlarged twice.

(r _(i,k) , s _(i,k))=(max[(g _(i+1,k) +g _(i+1,k−2) −g _(i,k) −g _(i,k<2))/2, (g _(i,k) +g _(i,k−2) −g _(i−1,k) −g _(i−1,k−2))/2], (g _(i+1,k) +g _(i,k) +g _(i−1,k) −g _(i+1,k−2) −g _(i,k−2) −g _(i−1,k−2))/3 (k:even)

=(max[(g _(i+1,k) +g _(i+1,k+2) −g _(i,k) −g _(i,k+2))/2, (g _(i,k) +g _(i,k+2) −g _(i−1,k) −g _(i−1,k+2))/2], (g _(i+1,k+2) +g _(i,k+2) +g _(i−1,k+2) −g _(i+1,k) −g _(i,k) −g _(i−1,k))/3 (k:odd)  (6)

[0080] where max [*.*] represents one having a larger absolute value. As described above, it can be understood that the amount (ri,k, si,k) is obtained in consideration of a phase of the twice-enlarged image.

[0081] Further, a quadratic differential value in the directions i and k is calculated. If the absolute value of the calculated value is small, then it is determined that a curve at a curved portion of the image is not sharp and then the following equation (7) is employed.

(r _(i,k) , s _(i,k))=((g _(i+1,k) +g _(i+1,k−) −g _(i−1,k) −g _(i,k−2))/2, (g _(i+1,k+2) +g _(i,k+2) −g _(i−1,k+2) −g _(i+1,k−2) −g _(i,k−2) −g _(i−1,k−2))/3 (k:even)

=((g _(i+1,k) +g _(i+1,k−2) −g _(i−1,k) −g _(i,k−2))/2, (g _(i+1,k+2) +g _(i,k+2) −g _(i−1,k+2) −g _(i+1,k−2) −g _(i,k−2) −g _(i−1,k−2))/3 (k:odd)

[0082] As described above, when the quadratic differential value in the directions i and k is small, the inclination vector is calculated by using the data of a larger area, and hence it is possible to prevent misdetection. An amount corresponding to the inclination ai,j which expresses the local edge direction of the image by equation (4) can be expressed as an inclination bi,k by the following equation (8).,

b _(i,k)=−2_(ri,k/si,k)  (8)

[0083] Using the value of the inclination bi,k thus obtained, the edge direction area designating means 42 divides the edge direction of the image into eight areas shown in FIG. 8 including at least the horizontal direction area 43, the vertical direction area 44 and the diagonal direction area 45. FIG. 8 shows an example of dividing the edge direction into eight areas similarly to division of the edge direction with the value of the calculated inclination ai,j. An area {circle over (1)} is selected when the value of the inclination ai,j is positive and equal to or smaller than ¾. An area {circle over (2)} is selected when the value of the inclination ai,j is larger than ¾ and equal to or smaller than {fraction (3/2)}. An area {circle over (3)} is selected when the value of the inclination ai,j is larger than {fraction (3/2)} and equal to or smaller than 4. An area {circle over (4)} is selected when the value of the inclination ai,j is larger than 4. An area {circle over (5)} is selected when the value of the inclination ai,j is negative and equal to or larger than −¾. An area {circle over (6)} is selected when the value of the inclination ai,j is smaller than −¾ and equal to or larger than −{fraction (3/2)}. An area {circle over (7)} is selected when the value of the inclination ai,j is smaller than −{fraction (3/2)} and equal to or larger than −4. An area {circle over (8)} is selected when the absolute value of pi,j is equal to or smaller than a constant. Specifically, the area {circle over (8)} is the horizontal direction area 43, the area {circle over (4)} is the vertical direction area 44. The areas {circle over (1)} to {circle over (3)} and {circle over (5)} to {circle over (7)} belong to the diagonal direction area 45.

[0084] If the edge direction designating means 42 detects the diagonal direction area 45 such as the areas {circle over (1)} to {circle over (3)} and {circle over (5)} to {circle over (7)} shown in FIG. 8, the right-angle-corner detecting means 46 detects a right-angle-corner pattern of a character or the like shown in FIG. 9. In FIG. 9, in an image block formed of 3 pixels×3 pixels surrounding the pixel to be interpolated, each of pixels shown by dense hatchings has an image data value of zero, each of pixels shown by thin hatchings has a middle image data value, and pixels shown by bland has a maximum value. At this time, the vector (pi,j, qi,j) represents a direction from the pixels having an image value of zero or a middle value to the pixels having a maximum value. In this case, as shown in FIG. 9, since two pixels at the middle and lowermost positions of the left side have values of zero, two pixels including the pixel to be interpolated have middle values, and five pixels at the upper row and the right column have maximum values, a vector of the pixel to be interpolated is detected as the upward and diagonal direction inclined toward the right. Then, a vector perpendicular to the vector is detected as one of a vector (−qi,j, pi,j) and a vector (qi,j, pi,j) which are respectively an upward and diagonal direction inclining to the left and a downward and diagonal direction inclining to the right, regardless of the fact that the pixels having the middle values including the pixel to be interpolated is in the direction j. The vector (−qi,j, pi,j) or the vector (qi,j, pi,j) corresponds to the edge direction.

[0085] However, since the right-angle-corner pattern shown in FIG. 9 is included not in natural images but in artificial images such as an image of a character or the like. As shown in FIG. 9, if the direction of the vector (−qi,j, pi,j) or the vector (qi,j, pi,j) is detected as the edge direction as shown in FIG. 9, then a shape of the character is deformed. Therefore, in order to detect the right-angle-corner pattern, inclinations of surrounding pixels are also calculated in accordance of the following equation (9). This calculation is carried out when the diagonal-direction area 45 including areas {circle over (5)} to {circle over (7)} is selected.

dm _(i,j) =g _(i+2,k) −g _(i+2,k−2)

dn _(i,k) =g _(i,k+2) −g _(i−2,k−2)

dh1 _(i,j) =g _(i,k) −g _(i+2,k)

dh2 _(i,j) =g _(i,k−2) −g _(i+2,k−2)  (9)

[0086] At this time, if absolute values of dm_(i,k) and dn_(i,k) are small and dh1 _(i,k) and dh2 _(i,k) have the same plus sign, then it is determined that the right-angle-corner pattern is detected, and the horizontal direction area 43 of the area 8 shown in FIG. 8 is selected. In other cases, the similar processings are carried out. This processing for detecting the right-angle corner can suppress the deformation of the artificial image such as the character or the like. Thus, the local edge direction of the image is detected.

[0087] An operation of the two-dimensional adaptive filter will be described. Depending upon the edge directions of the areas {circle over (1)} to {circle over (8)} shown in FIG. 8 detected by the edge detecting unit 33, the edge-direction-corresponding-coefficient selecting means 50 of the two-dimensional adaptive filter switches the coefficients 51 to one of coefficients H₁((Zi, Zj) to H₈(Zi, Zj) shown in FIGS. 10 and 11. In FIG. 10, the coefficient H₁(Zi, Zj) has values of 0, 0, 0, +{fraction (5/16)}, +{fraction (5/16)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to a first line of the sub scanning direction i, values of 0, 0, 0, 0, 0, 0, 0 in the main scanning direction j relative to a second line of the sub scanning direction i, values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/16)}, +{fraction (5/16)}, 0, 0, 0 in the main scanning direction j relative to a third line of the sub scanning direction i. The coefficient H₂(Zi, Zj) has values of 0, 0, 0, 0, +{fraction (5/16)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the first line of the sub scanning direction i, values of 0, 0, 0, +⅝, 0, 0, 0 in the main scanning direction j relative to the second line of the sub scanning direction i, values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/16)}, 0, 0, 0, 0 in the main scanning direction j relative to the third line of the sub scanning direction i. The coefficient H₃(Zi, Zj) has values of 0, 0, 0, 0, +{fraction (5/32)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the first line of the sub scanning direction i, values of 0, 0, +{fraction (5/32)}, +⅝, +{fraction (5/32)}, 0, 0 in the main scanning direction j relative to the second line of the sub scanning direction i, values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/32)}, 0, 0, 0, 0 in the main scanning direction j relative to the third line of the sub scanning direction i. The coefficient H₄(Zi, Zj) has values of 0, 0, 0, 0, 0, 0, 0 in the main scanning direction j relative to the first line of the sub scanning direction i, values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/32)}, +⅝, +{fraction (5/32)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the second line of the sub scanning direction i, values of 0, 0, 0, 0, 0, 0, 0 in the main scanning direction j relative to the third line of the sub scanning direction i.

[0088] In FIG. 11, the coefficient H₅(Zi, Zj) has values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/16)}, +{fraction (5/16)}, 0, 0, 0 in the main scanning direction j relative to the first line of the sub scanning direction i, values of 0, 0, 0, 0, 0, 0, 0 in the main scanning direction j relative to the second line of the sub scanning direction i, values of 0, 0, 0, +{fraction (5/16)}, +{fraction (5/16)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the third line of the sub scanning direction i. The coefficient H₆(Zi, Zj) has values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/16)}, 0, 0, 0, 0 in the main scanning direction j relative to the first line of the sub scanning direction i, values of 0, 0, 0, +⅝, 0, 0, 0 in the main scanning direction j relative to the second line of the sub scanning direction i, values of 0, 0, 0, 0, +{fraction (5/16)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the third line of the sub scanning direction i. The coefficient H₇(Zi, Zj) has values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/32)}, 0, 0, 0, 0 in the main scanning direction j relative to the first line of the sub scanning direction i, values of 0, 0, +{fraction (5/32)}, +⅝, +{fraction (5/32)}, 0, 0 in the main scanning direction j relative to the second line of the sub scanning direction i, values of 0, 0, 0, 0, +{fraction (5/32)}, −{fraction (3/32)}, −{fraction (1/32)}, in the main scanning direction j relative to the third line of the sub scanning direction i. The coefficient H₆(Zi, Zj) has values of 0, 0, 0, +{fraction (5/32)}, 0, 0, 0 in the main scanning direction j relative to the first line of the sub scanning direction i, values of −{fraction (1/32)}, −{fraction (3/32)}, +{fraction (5/32)}, +⅝, +{fraction (5/32)}, −{fraction (3/32)}, −{fraction (1/32)} in the main scanning direction j relative to the second line of the sub scanning direction i, values of 0, 0, 0, +{fraction (5/32)}, 0, 0, 0 in the main scanning direction j relative to the third line of the sub scanning direction i.

[0089] Since the respective filtering operations using these coefficients are carried out in the main scanning direction j, it is sufficient to incorporate a video memory for about three lines. Since the filter coefficient is a multiple of 2, it is possible to provide these filtering operation in the form of a hardware with a comparative inexpensive cost.

[0090] FIGS. 12 to 16 show frequency characteristics of the coefficients H₁(Zi, Zj) to He(Zi, Zj) of the two-dimensional adaptive filter. Each of the frequency characteristics shown in FIGS. 12 to 16 shows a gain relative to two dimensions of an X-frequency and a Y-frequency. FIG. 12 shows the frequency characteristic of the coefficient H₅(Zi, Zj). The frequency characteristic of the coefficient H₁(Zi, Zj) is one obtained by inverting the frequency characteristic of the coefficient H₅(Zi, Zj) shown in FIG. 12 in the left and right direction relative to X=0. FIG. 13 shows the frequency characteristic of the coefficient H₆(Zi, Zj). The frequency characteristic of the coefficient H₂(Zi, Zj) is one obtained by inverting the frequency characteristic of the coefficient H₆(Zi, Zj) shown in FIG. 13 in the left and right direction relative to X=0. FIG. 4 shows the frequency characteristic of the coefficient H₇(Zi, Zj). The frequency characteristic of the coefficient H₃(Zi, Zj) is one obtained by inverting the frequency characteristic of the coefficient H₇(Zi, Zj) shown in FIG. 14 in the left and right direction relative to X=0. Thus, the frequency characteristics of the coefficients H₁(Zi, Zj), H₂(Zi, Zj) and H₃(Zi, Zj) are ones obtained by inverting the frequency characteristics of the coefficients H₅(Zi, Zj), H₆(Zi, Zj) and H₇(Zi, Zj) in the sub scanning directions, respectively. FIG. 15 shows the frequency coefficient H₄(Zi, Zj). FIG. 16 shows frequency characteristic of the coefficient H₈(Zi, Zj).

[0091] These filter coefficients have directivity and form the two-dimensional low-pass filter, and characteristics which permit the jaggy components in the edge direction to be cut and permit sharpness of the edge in the direction perpendicular to the edge direction to be kept. Therefore, the diagonal-direction edge is prevented from being jaggy and can be interpolated smoothly.

[0092] In comparison with a method of employing a mean value of pixels, it is possible to form a low-pass filter (LPF) having better characteristic, and hence the blur of the image can be suppressed. Moreover, these filters process the simply twice-enlarged image, it is possible to achieve the advantage that the edge in the horizontal direction can be kept without being blurred as compared with the method of employing the mean value of the pixels.

[0093] As described above, according to the first embodiment of the present invention, the diagonal-direction edge is smoothly interpolated, and hence it is possible to obtain an interpolated image which is less blurred and substantially free from deformation of the character or the like and which has a high picture quality.

[0094] The present invention is not limited to the above first embodiment and can be applied to an operation of printing a low-resolution image by a digital color printer with high resolution and a software for making a resolution of the image higher by a computer.

[0095] The pixels may be enlarged twice by interpolation according to the first embodiment to thereafter convert the resolution by a resolution converting means which can change a scale factor freely. In this case, it is possible to obtain an output image having higher picture quality as compared with that of an image obtained by converting a resolution solely by a resolution converting means which can change a scale factor freely.

[0096] An image resolution converting apparatus according to a second embodiment of the present invention will be described. The image resolution converting apparatus according to the second embodiment enlarges a digital image with an interpolator formed by connecting interpolators having similar arrangements at multi-stages in series and then decimates the same to thereby change a resolution of the image. Thus, it is possible to achieve an output image having a high picture quality substantially similar to that obtained by a by-cubic method., and it is possible to realize achievement of such output image with a simple arrangement, low costs, and no multiplier.

[0097] A color video printer to which the image resolution converting apparatus according to the second embodiment is applied will be described. The color video printer according to the second embodiment has the same arrangement as the color video printer according to the first embodiment except that, particularly, a video processing unit 9 of the color video printer according to the second embodiment has a re-sizing block 18 which enlarges a digital image by using an interpolator having a multi-stage arrangement and then decimates the same to thereby convert the resolution of the image. Therefore, the arrangements of the color video printer shown in FIG. 1 and the video processor unit 9 shown in FIG. 2 will not be described in detail.

[0098] The re-sizing block 18 has an interpolator for up-sampling a video data and passing the video data through an interpolation filter to thereby enlarge the number of data at a predetermined scale factor, and a decimating circuit for decimating pixels close to a position of a predetermined output pixel. The re-sizing block 18 changes the resolution of the image data in one direction at a desired scale factor.

[0099]FIG. 17 is a diagram showing an arrangement of the re-sizing block 18 as the image resolution converting apparatus. As shown in FIG. 17, the re-sizing block 18 has a multi-stage interpolator 130, a decimating circuit 133, an adder circuit 136 and a sample delay circuit 137. In FIG. 17, Xj depicts an input video data, and Yj depicts an output video data. j depicts the main scanning direction (line direction).

[0100] The multi-stage interpolator 130 has a first double interpolator 130 a, a second double interpolator 130 b, and a third double interpolator 130 c. The first double interpolator 130 a has a circuit 131 a subjecting an input video data Xj to double up-sampling processing, and an interpolation filter 132 a for smoothly interpolating the video data subjected to the double up-sampling processing. The first double interpolator 130 a has a function to enlarge the input video data Xj twice.

[0101] The second double interpolator 130 b has a circuit 131 b subjecting the video data enlarged twice by interpolation to double up-sampling processing, and an interpolation filter 132 b for smoothly interpolating the video data subjected to the double up-sampling processing. The second double interpolator 130 a has a function to enlarge the video data enlarged twice by interpolation to consequently enlarge the input video data Xj four times.

[0102] The third double interpolator 130 c has a circuit 131 c subjecting the video data enlarged four times by interpolation to double up-sampling processing, and an interpolation filter 132 c for smoothly interpolating the video data subjected to the double up-sampling processing. The third double interpolator 130 c has a function to enlarge the video data enlarged four times by interpolation to consequently enlarge the input video data Xj eight times.

[0103] Specifically, the multi-stage interpolator 130 is formed by connecting the double interpolator having the same arrangements at three stages in series. The multi-stage interpolator 130 has the double interpolators connected in series at three stages and hence has a function to enlarge the input video data Xj eight times.

[0104] The decimating circuit 133 has a counter 134 for successively counting the video data enlarged eight times by interpolation and a comparator circuit for comparing an count output with a desired output pixel position to output an output video data Yj when they are agreed with each other.

[0105] The re-sizing block 18 has a sample delay circuit 137 for outputting a signal delayed by one sample time as a desired output pixel position signal, and an adder circuit 136 for adding the desired output pixel position signal with a signal indicative of an inverse number of a scale factor when the count output and the desired output pixel position signal are agreed with each other, to then increment the signal.

[0106] An operation of the re-sizing block 18 thus arranged will hereinafter be described.

[0107] Initially, an operation of the multi-stage interpolator 130 will be described. The double up-sampling circuit 131 a of the first double interpolator 130 a subjects the input video data Xj to double up-sampling processing, and the interpolation filter 132 a smoothly interpolates the video data subjected to the double up-sampling processing. Thus, the first double interpolator 130 a enlarges the input video data Xj twice. Specifically, the first double interpolator 130 a subjects the input video data Xj shown in FIG. 18A to the double up-sampling processing to thereby insert values of zero upon the double up-sampling processing into positions between the values obtained at an original sampling point, thereby obtaining an output signal from the double up-sampling circuit 131 a into which the values of zero upon the double up-sampling processing are inserted as shown in FIG. 18B. Further, the interpolation filter 132 a smoothly interpolates the values of zero upon the double up-sampling processing to obtain the output signal (having the number of pixels enlarged twice) from the interpolation filter shown in FIG. 18C.

[0108] The double up-sampling circuit 131 b of the second double interpolator 130 b subjects the video data enlarged twice to double up-sampling processing, and the interpolation filter 132 b smoothly interpolates the video data subjected to the double up-sampling processing. Thus, the second double interpolator 130 b further enlarges the video data, which has been enlarged twice, twice to thereby consequently enlarges the video data four times. Specifically, the second double interpolator 130 b subjects the video data enlarged twice shown in FIG. 18A to the double up-sampling processing to thereby insert values of zero upon the double up-sampling processing into positions between the values obtained at an original sampling point, thereby obtaining an output signal from the double up-sampling circuit 131 b into which the values of zero upon the double up-sampling processing are inserted as shown in FIG. 18B. Further, the interpolation filter 132 b smoothly interpolates the values of zero upon the double up-sampling processing to obtain the output signal (having the number of pixels enlarged four times) from the interpolation filter shown in FIG. 18C.

[0109] The double up-sampling circuit 131 c of the third double interpolator 130 c subjects the video data enlarged four times to double up-sampling processing, and the interpolation filter 132 c smoothly interpolates the video data subjected to the double up-sampling processing. Thus, the third double interpolator 130 c further enlarges the video data, which has been enlarged four times, twice to thereby consequently enlarge the video data eight times by interpolation. Specifically, the third double interpolator 130 c subjects the video data enlarged four times shown in FIG. 18A to the double up-sampling processing to thereby insert values of zero upon the double up-sampling processing into positions between the values obtained at an original sampling point, thereby obtaining an output signal from the double up-sampling circuit 131 c into which the values of zero upon the double up-sampling processing are inserted as shown in FIG. 18B. Further, the interpolation filter 132 c smoothly interpolates the values of zero upon the double up-sampling processing to obtain the output signal (having the number of pixels enlarged eight times) from the interpolation filter shown in FIG. 18C.

[0110] Each of the double interpolater 130 a, 130 b, 130 c inserts the values of zero upon the double up-sampling processing into positions between the values obtained at the original sampling point. Each of the interpolation filter 132 a, 132 b, 132 c which is a low-pass filter having a pass band of 0≦ω≦π relative to a normalized angular frequency ω obtained at the double up-sampling processing interpolates the data to obtain the smooth signal. As a result, the video data is enlarged about eight times as much as the number of the heating elements of the thermal head. Thus, the multi-stage interpolator 130 outputs the video data enlarged eight times in the main scanning direction as a signal output from the multi-stage interpolator.

[0111] An operation of the decimating circuit 33 will be described. The counter 134 forming a shift register, for example, successively counts and shifts the output signal from the multi-stage interpolator shown in FIG. 18D and then outputs it. A signal output from the counter 134 is successively supplied to one input terminal of the comparator circuit 135. The desired output pixel position signal is supplied to the other input terminal. Specifically, the desired output pixel position signal serves as a sampling signal used to determine at which sampling point a value is output from the comparator circuit 35. For example, when, as shown in FIG. 18D, the comparator circuit 135 outputs a value at a 5th sampling point of the video data enlarged eight times by the multi-stage interpolator 130 to enlarge the video data {fraction (8/5)} times, a value of the first 5th sampling point is output and then added in the adder circuit 136 for increment. Further, a value at the second 5th sampling point is output and then added in the adder circuit 136 for increment. Similarly, a value at the third 5th sampling point is output and then added in the adder circuit 136 for increment. Thus, the comparator circuit 135 successively outputs the output video data Yj. Specifically, since the multi-stage interpolator 30 enlarges the input video data Xj eight times, it is possible to output the output video data at a desired scale factor up to 8 by determining at which sampling point a value is used for comparison with the image data enlarged eight times. Since a pixel closest to the desired output pixel position is selected upon decimation in response to the sampling rate of the desired output pixel position signal, it is possible to carry out the processing for converting the resolution. All the values at eight sampling points may be output. The output image data may be output at a desired factor scale up to a value of 8. 1/scale factor=⅝ input to the adder 136 is set in the register 12 shown in FIG. 2, and since the sampling point for the video data enlarged eight times is ⅝×8=5 samples, the sampling is carried out at every fifth sampling point.

[0112] Coefficients of the interpolation filter employed in the multi-stage interpolator 130 will be described.

[0113]FIG. 19 shows coefficients of the interpolation filter H(Z). This interpolation filter is formed of seven taps and has coefficients for the sampling points Z³, Z², Z¹, 0, Z⁻¹, Z⁻², Z⁻³ in the main scanning direction j. These coefficients are −⅛, 0, +⅝, +1, +⅝, 0, −⅛ in the main scanning direction j. For example, these coefficients are used for calculation of seven pixels of the pixel numbers 6, 5, 4, 3, 2, 1, 0 in the main scanning direction j.

[0114]FIG. 20 shows a frequency characteristic of the interpolation filter. In FIG. 20, an abscissa thereof represents a quotient obtained by dividing a normalized angular frequency ω by π, and an ordinate thereof represents a gain. Specifically, the coefficients of the interpolation filter H(Z) represent a frequency characteristic of the low-pass filter having a pass band of 1≦ω≦π/2. The coefficients of the interpolation filter H(Z) are, if expressed with decimal, −0.1250, 0.0000, 0.6250, 1.0000, 0.6250, 0.0000, −0.1250.

[0115] As described above, according to the image resolution converting apparatus according to the second embodiment, a processing of the by-cubic method providing a high picture-quality is realized by using the interpolation filter formed of the digital filter. Specifically, since the by-cubic method is a method of employing as an output pixel a value obtained by calculation of convolution of an input pixel and sinc function (sin x/x≈x³+x²+ . . . ) and a Fourier transform of sinc function is an ideal low-pass filtering processing, convolution of the input pixel and a result of the low-pass filtering processing corresponds to the processing of subjecting the input pixel to the low-pass filtering. Therefore, the result of the by-cubic method is substantially equivalent to that obtained by the image resolution converting apparatus according to the second embodiment.

[0116] Since the interpolation filter having the coefficients shown in FIG. 19 can be formed with a circuit scale of about four adders, it is possible to realize an image having a picture quality substantially as high as that obtained by employing the by-cubic method, with a simple arrangement and low costs.

[0117] Moreover, the coefficients of the interpolation filter H(Z) may be selected as shown in FIG. 21. The interpolation filter is formed of eight taps and has coefficients for the sampling points Z³, Z², Z¹, 0, Z⁻¹, Z⁻², Z⁻³, Z⁻⁴ in the main scanning direction j. These coefficients are −{fraction (3/64)}, −{fraction (9/64)}, +{fraction (19/64)}, +{fraction (57/64)}, +{fraction (57/64)}, +{fraction (19/64)}, −{fraction (9/64)}, −{fraction (3/64)} in the main scanning direction j. For example, these coefficients are used for calculation of eight pixels of the pixel numbers 7, 6, 5, 4, 3, 2, 1, 0 in the main scanning direction j.

[0118] If the interpolation filter is formed so as to have the above coefficients, it is possible to obtain the interpolation filter having almost the same frequency characteristics as those of the interpolation filter shown in FIG. 19 and a phase different by a half pixel from that of the interpolation filter shown in FIG. 19. When such interpolation filter is employed and a magnification power is a multiple of an integer, it is possible to obtain an output image having no blur at the edge. Specifically, if an image is enlarged twice, then a phase thereof is converted so that the same two pixel should be arranged side by side, which allows the edge to be kept.

[0119] In the second embodiment, the interpolator can have multi-stages which are two stages or larger in response to some factors such as a picture quality, costs, a scale factor or the like. If the image resolution converting apparatus according to the second embodiment has an anti-aliasing filter for removing an unnecessary high-band components at a stage preceding or succeeding the interpolater, then it is possible to form the image resolution converting apparatus which can provide a higher picture quality. The re-sizing block 18 may be employed as an aspect converting circuit for converting the number of scanning lines according to the PAL system into that according to the NTSC system.

[0120] The present invention is not limited to the above first embodiment and can be applied to an operation of printing a low-resolution image by a digital color printer with high resolution and a software for making a resolution of the image higher by a computer.

[0121] A picture enhancement apparatus according to a third embodiment of the present invention will be described. The picture enhancement apparatus according to the second embodiment enhances a video data of a digital picture by using tow filters, i.e., a filter for enhancing a high band and a wide filter for enhancing a little lower band and sets gains of the two filters independently. Therefore, it is possible to carry out enhancement of a desired frequency band as carried out by a simple equalizer and also to subject a picture having a low frequency band to effective enhancement.

[0122] A color video printer to which the picture enhancement apparatus according to the third embodiment is applied will be described. The color video printer according to the third embodiment has the same arrangement as the color video printer according to the first embodiment except that, particularly, a video processing unit 9 of the color video printer according to the third embodiment has a sharpness block 22 which enhances a video data of a digital picture by using tow filters, i.e., a filter for enhancing a high band and a wide filter for enhancing a little lower band and sets gains of the two filters independently. Therefore, the arrangements of the color video printer shown in FIG. 1 and the video processor unit 9 shown in FIG. 2 will not be described in detail.

[0123] Since in the third embodiment the sharpness block 22 enhances a video data of a digital picture by using tow filters, i.e., a filter for enhancing a high band and a wide filter for enhancing a little lower band and sets gains of the two filters independently, the sharpness block 22 can enhance a desired frequency band as carried out by a simple equalizer and also has a function to effect the effective enhancement on the picture having the low frequency band.

[0124] A specific arrangement and an operation of the picture enhancement apparatus according to the third embodiment will be described. FIG. 22 is a diagram showing a principle of an arrangement of a band dividing filter of the sharpness block 22. FIG. 22 shows an arrangement used for forming filters Fh(Z) and Fm(Z) described later on with reference to FIG. 30. The arrangement is not included in the sharpness block 22 shown in FIG. 2. As shown in FIG. 22, the band dividing filter of the sharpness block 22 has a first band dividing filter 230 for dividing an input video data U(Z) into data of high band and data of low band, and a second band dividing filter 233 for further dividing the data of low band, which has been divided by the first band dividing filter 230, into data of high band and data of low band.

[0125] The first band dividing filter 230 has a high-pass filter (HPF) 231 having filter coefficients Fh(Z) and a low-pass filter (LPF) 232 having filter coefficients Fl(Z). The filter coefficients Fh(Z) for sampling points Z⁻¹, 0, Z⁺¹ are −0.25, 0.5, −0.25, respectively. The filter coefficients Fl(Z) for sampling points Z⁻¹, 0, Z⁺¹ are 0.25, 0.5, 0.25, respectively. The second band dividing filter 233 has a high-pass filter (HPF) 234 having filter coefficients Fh(Z²) and a low-pass filter (LPF) 235 having filter coefficients Fl(Z²).

[0126] The band dividing filters having the above arrangements of the sharpness block 22 are operated as follows. The HPF 231, having the filter coefficients Fh(Z), of the first band dividing filter 230 divides the input video data U(Z) to obtain data of high band, thereby obtaining a band 3 video data Fh(Z)U(Z). The LPF 232, having the filter coefficients Fl(Z), of the first band dividing filter 230 divides the input video data U(Z) to obtain data of low band, thereby obtaining a band 3 video data Fl(Z)U(Z). Further, the HPF 234, having the filter coefficients Fh(Z²), of the second band dividing filter 233 divides the video data Fl(Z)U(Z) to obtain data of high band, thereby obtaining a band 2 video data Fh(Z²)Fl(Z)U(Z). The LPF 235, having the filter coefficients Fh(Z²), of the second band dividing filter 233 divides the video data Fl(Z)U(Z) to obtain data of low band, thereby obtaining a band 1 video data Fl(Z²) Fl(Z)U(Z). Coefficients of the filter Fh(Z) for passing data of the band 3, the filter Fh(Z²)Fl(Z) for passing data of the band 2, and the filter Fl(Z²)Fl(Z) for passing data of the band 1 respectively represent transfer functions in a response system for the input video data U(Z).

[0127]FIG. 23 is a diagram used to explain an operation of dividing a frequency by the band dividing filters of the sharpness block 22. In FIG. 22, an abscissa thereof represents a frequency, and an ordinate thereof represents a gain. Assuming that a frequency band o of the input video data U(Z) is 0≦ω≦π, a frequency band ω3 of the band 3 video data Fh(Z)U(Z) is π/≦ω3≦π, a frequency band ω2 of the band 2 video data Fh(Z²) Fl(Z)U(Z) is π/4≦ω2≦π/2, and a frequency band ω1 of the band 1 video data Fl(Z²)Fl(Z)U(z) is 0≦ω3≦π/4. If the frequency band is divided into higher and lower bands and the divided lower frequency band is further divided into higher and lower bands, thus consequently the frequency band being successively divided into smaller bands, then it is possible to divide the frequency band w of the input video data U(Z) to obtain the desired low band where an enhanced picture is desired. Such division method is called an octave division.

[0128] FIGS. 24 to 29 are graphs showing frequency characteristics of the filters forming such band dividing filter. In each of FIGS. 24 to 29, an abscissa thereof represents a frequency and an ordinate thereof represents a gain. It is assumed that π=1 is established in the frequency band ω (0≦ω≦π) of the input video data U(Z). FIG. 24 is a graph showing frequency characteristics of the HPF 231, which has the filter coefficients Fh(Z), of the first band dividing filter 230. As shown in FIG. 24, when the frequency band ω3 of the filter Fh(Z) for passing the data of the band 3 is π/2≦ω3≦π, a gain G₃ is 0.5≦G₃≦1, which reveals that the filter Fh(Z) has high-pass characteristic. Filter coefficients of the filter Fh(Z) for the sampling points of Z⁻¹, 0, Z⁺¹ are −0.2500, 0.5000, −0.2500, respectively.

[0129]FIG. 25 is a graph showing frequency characteristics of the LPF 232, which has the filter coefficients Fl(Z), of the first band dividing filter 230. As shown in FIG. 25, when the frequency band ω2′ of the filter Fl(Z) is 0≦ω2′≦π/2, a gain G₂ is 0.5≦G_(2′)≦1. Filter coefficients of the filter Fl(Z) for the sampling points of Z⁻¹, 0, Z⁺¹ are 0.2500, 0.5000, 0.2500, respectively, which reveals that the filter Fl(Z) has low-pass characteristic.

[0130]FIG. 26 is a graph showing frequency characteristics of the HPF 234, which has the filter coefficients Fh(Z²), of the second band dividing filter 233. As shown in FIG. 26, when the frequency band ω2″ of the filter Fh(Z²) is π/4≦ω″≦π¾, a gain G_(2″) is 0.5≦G_(2″)≦1. Filter coefficients of the filter Fh(Z²) for the sampling points of Z⁻², Z⁻¹, 0, Z⁺¹, Z⁺² are −0.2500, 0, 0.5000, 0, −0.2500, respectively, which reveals that the filter Fh(Z²) has high-pass characteristic for the frequency band ω2′ (0≦ω2′≦π/2) of the filter coefficients of the filter Fl(Z) of the first band dividing filter 230.

[0131]FIG. 27 is a graph showing frequency characteristics of the LPF 235, which has the filter coefficients Fl(Z²), of the second band dividing filter 233. As shown in FIG. 27, when the frequency band ω1′ of the filter Fl(Z²) is 0≦ω1′≦π/4, a gain G_(1′) is 0.5≦G_(1′)≦1. Filter coefficients of the filter Fl(Z²) for the sampling points of Z⁻², Z⁻¹, 0, Z⁺¹, Z⁺² are 0.2500, 0, 0.5000, 0, 0.2500, respectively, which reveals that the filter Fl(Z²) has low-pass characteristic for the frequency band ω2′ (0≦ω2′≦π/2) of the filter coefficients of the filter Fl(Z) of the first band dividing filter 230.

[0132]FIG. 28 is a graph showing frequency characteristics of a filter Fh(Z²)Fl(Z) which passes data of the band 2 and which is formed of the LPF 232, that has the filter coefficients Fl(Z), of the first band dividing filter 230 and the HPF 234, that has the filter coefficients Fh(Z²), of the second band dividing filter 233. As shown in FIG. 28, when the frequency band ω2 of the filter Fh(Z²)Fl(Z) is π/4≦ω2≦π/2, a gain G₂ is 0.5≦G₂≦0.6. Filter coefficients of the filter Fh(Z²)Fl(Z) for the sampling points of Z⁻³, Z⁻², Z⁻¹, 0, Z⁺¹, Z⁺², Z⁺³ are −0.0625, 0.1250, 0.0625, 0.2500, 0.0625, −0.1250, −0.0625, respectively, which reveals that the filter Fh(Z²)Fl(Z) has middle-band-pass characteristic for the frequency band ω (0≦ω≦π) of input video data U(Z).

[0133]FIG. 29 is a graph showing frequency characteristics of a filter Fl(Z²)Fl(Z) which passes data of the band 1 and which is formed of the LPF 232, that has the filter coefficients Fl(Z), of the first band dividing filter 230 and the LPF 235, that has the filter coefficients Fl(Z²), of the second band dividing filter 233. As shown in FIG. 29, when the frequency band ω1 of the filter Fl(Z²)Fl(Z) is 0≦ω1≦π/4, a gain G₁ is 0.5≦G₁≦1. Filter coefficients of the filter Fl(Z²)Fl(Z) for the sampling points of Z⁻³, Z⁻², Z⁻¹, 0, Z⁺¹, Z⁺², Z⁺³ are 0.0625, 0.1250, 0.1875, 0.2500, 0.1875, 0.1250, 0.0625, respectively, which reveals that the filter Fl(Z²)Fl(Z) has a low-pass characteristic for the frequency band ω (0≦ω≦π) of input video data U(Z).

[0134]FIG. 30 is a diagram showing an arrangement of a device for enhancing a picture in two bands of the sharpness block 22. An arrangement shown in FIG. 30 corresponds to the sharpness block 22 shown in FIG. 2. There will hereinafter be described a picture enhancement processing using a filter Fm(Z)=Fh(Z²)Fl(Z) for passing the band 2 obtained by dividing the frequency band by the band dividing filter shown in FIG. 22, and a filter Fh(Z) for passing data of the band 3.

[0135] As shown in FIG. 30, the device for enhancing the picture in two bands has a band dividing filter 110 for dividing the input video data U(Z) into data of high band and data of middle band, a noise cutting circuit 113 for cutting a noise by providing dead zones in the high and middle bands obtained by band division, an amplifier 116 for amplifying signals in the divided high and middle bands with independent gains, an adder circuit 119 for adding the input video data U(Z) with the data of high and middle bands amplified with the independent gains Gh, Gm to output the output video data Y(Z).

[0136] The band dividing filter 110 has a high-pass filter (HPF) 111 having filter coefficients Fh(Z) and a middle-band-pass filter 112 having falter coefficients Fm(Z)=Fh(Z²)Fl(Z). The HPF 111 has the filer coefficients Fh(Z) of the first band dividing filter 230 shown in FIG. 22 and corresponds to the HPF 231 for outputting the band 3 video data Fh(Z)U(Z). The middle-band-pass filter 112 has the filter coefficients Fl(z) of the LPF 232 of the first band dividing filter 230 and the filter coefficients Fh(Z²) of the HPF 234 of the second band dividing filter 233 and corresponds to the middle-band-pass filter for outputting the picture data in the band 2 Fm(Z)U(Z)=Fh(Z²)Fl(Z) U(z).

[0137] The device for enhancing the picture in two bands thus arranged is operated as follow.

[0138] In a processing system for the band 3, the HPF 111 of the band dividing filter 110 passes the band 3 video data Fh(Z) U(Z) of the input video data U(Z). The noise cutting circuit 114 for the band 3 of the noise cutting circuit 113 cuts the noise of the band 3 video data Fh(Z)U(Z) in the range of a predetermined dead zone. This dead zone is set in the range of frequency to be enhanced. The band 3 video data Fh(Z)U(Z) from which the noise is removed is amplified by the amplifier 117 with the gain Gh for the band 3. The gain Gh is set large when a band in the band 3 is sharply enhanced, and set small when the band is made soft.

[0139] In a processing system for the band 2, the middle-band-pass filter 112 of the band dividing filter 110 passes the band 2 video data Fm(Z)U(Z)=Fh(Z²)Fl(Z)U(Z). The noise cutting circuit 115 for the band 2 of the noise cutting circuit 113 cuts the noise of the band 2 video data Fm(Z)U(Z)=Fh(Z²)Fl(Z)U(Z) in the range of a predetermined dead zone. This dead zone is set in the range of a frequency to be enhanced. The band 2 video data Fm(Z)U(Z)=Fh(Z²)Fl(Z)U(Z) from which the noise is removed is amplified by the amplifier 118 with the gain Gm for the band 2. The gain Gm is set large when a band in the band 2 is sharply enhanced, and set small when the band is made soft.

[0140] As described above, the band 3 video data and the band 2 video data respectively amplified with the gains Gh and Gm are supplied to the adder circuit 119 together with the input video data U(Z), and then the adder circuit 119 adds them and outputs the output video data Y(Z).

[0141]FIG. 31 is a graph showing a frequency characteristic of a filter having filter coefficients (=Fm(Z)+Fh(Z)) obtained by addition of the filter coefficients Fh(Z) for the band 3 and the filter coefficients Fm(Z). FIG. 31 shows the frequency characteristics of the filter having the filter coefficients (=Fm(Z)+Fh(Z)) obtained by addition of the filter coefficients Fh(Z) for the band 3 of the HPF 111 of the band dividing filter 110 and the filter coefficients Fm(Z) of the middle-band-pass filter 112 thereof. In FIG. 31, a frequency band ωhm of the filter having filter coefficients (=Fm(Z)+Fh(Z)) obtained by addition of the filter coefficients Fh(Z) for the band 3 and the filter coefficients Fm(Z) is π/4≦ωhm≦π, a gain Ghm is 0.5≦Ghm≦π. The filter coefficients Fh(Z)+Hm(Z) for the sampling points Z⁻³, Z⁻², Z⁻¹, 0, Z⁺¹, Z⁺², Z⁺³ are −0.0625, −0.1250, 0.1875, 0.7500, −0.1875, −0.1250, −0.0625, respectively, which reveals that the filter Fm(Z)+Fh(Z) has a high-pass characteristic. THe filter coefficients are all multiples of 2, which simplifies a circuit scale.

[0142] Since the gains Gh, Gm are independently set for the two filters of the band dividing filter 111, it is possible to change the enhancement characteristics freely as carried out by a simple equalizer. The frequency characteristics shown in FIG. 31 are those obtained when the gains Gh, Gm are values of 1. In this case, the filter Fh(Z))+Fm(Z) is a high-pass filter for passing the band which is the middle band or higher.

[0143] As described above, according to the third embodiment, it is possible to effect the effective enhancement: on the picture of the low frequency band and the interpolated picture.

[0144] The present invention is not limited thereto, and the picture enhancement apparatus having filters for three bands or larger can be easily formed by increasing the number of stages of the band dividing filters.

[0145] If the above method is realized similarly by a two-dimensional filter, then the picture enhancement method can be improved to a two-dimensional picture enhancement system for two band or larger. In this case, the filter coefficients Fh(Z), Fl(Z) are expressed by the following equations (10), (11), respectively. $\begin{matrix} {{{Fh}(Z)} = \begin{pmatrix} {{{- 1}/16},} & {{{- 1}/16},} & {{- 1}/16} \\ {{{- 1}/16},} & {1/2} & {{- 1}/16} \\ {{{- 1}/16},} & {{{- 1}/16},} & {{- 1}/16} \end{pmatrix}} & (10) \\ {{{Fl}(Z)} = \begin{pmatrix} {{1/16},} & {{{- 1}/16},} & {1/16} \\ {{1/16},} & {1/2} & {1/16} \\ {{1/16},} & {{{- 1}/16},} & {1/16} \end{pmatrix}} & (11) \end{matrix}$

[0146] The present invention is not limited to the above first embodiment and can be applied to an operation of printing a low-resolution image by a digital color printer with high resolution and a software for making a resolution of the image higher by a computer.

[0147] As described above, according to the third embodiment, it is possible to effect the enhancement with high picture quality with the enhancement characteristics freely chanted as carried out by a simple equalizer. Moreover, it si possible to effect the effective enhancement on the picture of the low frequency characteristic and the interpolated picture.

[0148] Having described preferred embodiments of the picture present invention with reference to the accompanying drawings, it is to be understood that the present invention is not limited to the above-mentioned embodiments and that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit or scope of the present invention as defined in the appended claims. 

What is claimed is:
 1. A video processing apparatus, comprising: edge detecting means for detecting an edge direction of an image; coefficient selecting means for selecting a coefficient based on the edge direction detected by said edge detecting means; and filter means for filtering a frequency band by using a frequency characteristic corresponding to the coefficient selected by said coefficient selecting means, wherein the number of pixels of said image is enlarged twice.
 2. A video processing apparatus according to claim 1 , wherein said edge detecting means comprises maximum inclination direction detecting means for detecting a maximum local inclination direction of said image, vertical direction detecting means for detecting as the edge direction a vertical direction perpendicular to said maximum inclination direction detected by said maximum inclination detecting means, and edge direction area designating means for dividing the edge direction detected by said vertical direction detecting mans into a plurality of areas to designate an area to which said edge direction belongs.
 3. A video processing apparatus according to claim 1 , wherein said filter means is a two-dimensional digital filter and has edge-direction-corresponding-coefficient selecting means for selecting a coefficient corresponding to the edge direction detected by said edge detecting means, from a plurality of predetermined coefficients having frequency characteristics having directivity.
 4. A video processing apparatus according to claim 1 , wherein said edge detecting means comprises maximum inclination direction detecting means for detecting a maximum local inclination direction of said image, vertical direction detecting means for detecting as the edge direction a vertical direction perpendicular to said maximum inclination direction detected by said maximum inclination detecting means, edge direction area designating means for dividing the edge direction detected by said vertical direction detecting mans into a plurality of areas to designate an area to which said edge direction belongs, and right-angle corner pattern detecting means for selecting a horizontal direction as the edge direction by said edge direction area designating means when the edge direction area designating means detects that the edge direction is the diagonal direction and a pixel to be interpolated is located in a right-angle portion of the image.
 5. A video processing method, comprising the steps of: detecting a local edge direction of an image; filtering a predetermined frequency band with a predetermined gain by using a frequency characteristic of a coefficient selected in response to said detected edge direction; and enlarging the number of specific pixels of said image twice in one direction.
 6. A video processing method according to claim 5 , wherein said edge detecting step comprises a step of detecting a maximum local inclination direction of said image, a step of detecting as the edge direction a vertical direction perpendicular to said detected maximum local inclination direction, and a step of dividing said detected edge direction into a plurality of areas to designate an area to which said edge direction belongs.
 7. A video processing method according to claim 5 , wherein said filtering step is carried out by a two-dimensional digital filter and a coefficient corresponding to the edge direction detected in said edge detecting step is selected from a plurality of predetermined coefficients having frequency characteristics having directivity.
 8. A video processing method according to claim 5 , wherein said edge detecting step comprises a step of detecting a maximum local inclination direction of said image, a step of detecting as the edge direction a vertical direction perpendicular to said detected maximum local inclination direction, a step of dividing said detected edge direction into a plurality of areas to designate an area to which said edge direction belongs, and a step of selecting a horizontal direction as the edge direction when it is detected that the edge direction is the diagonal direction and a pixel to be interpolated is located in a right-angle portion of the image
 9. A video printer for subjecting video data of an image to a predetermined interpolation processing to carry out printing by a print head by using the interpolated video data, comprising: edge detecting means for detecting a local edge direction of an image; filter means for selecting a coefficient in response to the edge direction detected by the edge detecting means to filter a predetermined frequency band with a predetermined gain by using a frequency characteristic of said selected coefficient.
 10. A video processing apparatus, comprising: enlarging means for up-sampling video data to enlarge the number of data at a predetermined scale factor; decimating means for decimating said pixels by outputting said pixels of the enlarged video data at a desired ratio with employing as an input the video data enlarged by said enlarging means, wherein resolution of said video data is converted at a desired scale factor.
 11. A video processing apparatus according to claim 10 , wherein said plurality of enlarging means are connected in series.
 12. A video processing method, comprising the steps of: up-sampling video data to enlarge the number of data at a predetermined scale factor; and decimating the enlarged video data by outputting said pixels of the enlarged video data at a desired ratio, thereby converting resolution of said video data is converted at a desired scale factor.
 13. A video processing method according to claim 12 , wherein said enlarging step is continuously carried out plural times.
 14. A video printer for subjecting video data of a picture to a predetermined image resolution converting processing to carry out the printing with a print head by using the converted video data, comprising: enlarging means for up-sampling video data to enlarge the number of data at a predetermined scale factor; decimating means for decimating said pixels by outputting said pixels of the enlarged video data at a desired ratio with employing as an input the video data enlarged by said enlarging means, wherein resolution of said video data is converted at a desired scale factor, thereby an output image being printed.
 15. A picture enhancement apparatus, comprising: first enhancement means for enhancing a first band which is a higher frequency band in a frequency band of an input video data; second enhancement means for enhancing a second band which is a lower frequency band in a frequency band thereof, wherein a predetermined frequency band of said video data is enhanced by using said first enhancement means and said second enhancement means.
 16. A picture enhancement apparatus according to claim 15 , wherein a first-stage band dividing filter is formed of a high-pass filter and a low-pass filter, a second-stage band dividing filter formed of a high-pass filter and a low-pass filter is provided at the succeeding stage of said low-pass filter of said first-stage band dividing filter, and a plural-stage band dividing filter formed of high-pass filters and low-pass filters is further provided at the succeeding stage of the low-pass filter at the preceding stage, and wherein said first enhancement means employs said high-pass filter of said first-stage band dividing filer, and second enhancement means employs said low-pass filter of said first-stage band dividing filter and said high-pass filter of said plural-stage band dividing filter.
 17. A picture enhancement apparatus according to claim 15 , further comprising: a first gain setting means for setting a gain of said first enhancement means; and a second gain setting means for setting a gain of said second enhancement means, wherein the gain set by said first gain setting means and the gain set by said second gain setting means are independently set.
 18. A picture enhancement apparatus according to claim 15 , further comprising: a first coefficient used for said first band by said first enhancement means; and a second coefficient used for said second band by said second enhancement means.
 19. A picture enhancement method, comprising the steps of: first enhancement step of passing a first band which is a higher frequency band in a frequency band of a video data to thereby enhance said first band; second enhancement step of passing a second band which is a lower frequency band in a frequency band thereof to enhance said second band; and a step of enhancing a predetermined frequency band of said video data by using said first enhancement step and said second enhancement step.
 20. A picture enhancement method according to claim 19 , wherein a high-pass filter processing and a low-pass filter processing is carried out in a first-stage band dividing filter processing, a second-stage band dividing filter processing for carrying out a high-pass filter processing and a low-pass filter processing is provided at the succeeding stage of said low-pass filter processing of said first-stage band dividing filter processing, and a plural-stage band dividing filter processing for carrying out high-pass filter processings and low-pass filter processings is further successively provided at the succeeding stage of the low-pass filter processing at the preceding stage, and wherein said first enhancement step employs said high-pass filter processing of said first-stage band dividing filer processing, and second enhancement step employs said low-pass filter processing of said first-stage band dividing filter processing and said high-pass filter processing of said plural-stage band dividing filter processing.
 21. A picture enhancement method according to claim 20 , further comprising the steps of: a first gain setting step of setting a gain used in said first enhancement step; and a second gain setting step of setting a gain used in said second enhancement step, wherein the gain set in said first gain setting step and the gain set in said second gain setting step are independently set.
 22. A video printer for subjecting video data of an image to a predetermined picture enhancement processing to carry out the printing with a print head by using the enhanced video data, comprising: first enhancement means for enhancing a first band which is a higher frequency band in a frequency band of a video data; second enhancement means for enhancing a second band which is a lower frequency band in a frequency band thereof, wherein a predetermined frequency band of said video data is enhanced by using said first enhancement means and said second enhancement means. 